package zm.irc.cfg;

import zm.irc.ioc.annotation.Configuration;
import zm.irc.ioc.annotation.Value;

@Configuration(cfgFileName="db.yml")
public class DbConfig {

    @Value(path = "dbpool.driverName")
    private String driverName;


    @Value(path = "dbpool.url")
    private String url;

    @Value(path = "dbpool.userName")
    private String userName;


    @Value(path = "dbpool.poolSize")
    private int poolSize;

    public int getPoolSize(){
        return this.poolSize;
    }
    public String getDriverName() {
        return driverName;
    }

    public String getUrl() {
        return url;
    }

    public String getUserName() {
        return userName;
    }

    
}
